package demo6;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("prototype")//每次创建一个新的对象，否则默认是单例模式
public class person
{
}
